Network path identification

ABSTRACT

A method is implemented in a network that comprises a plurality of ports and an indicator associated with each port The method comprises forming a frame The frame passes through the network. The frame causes indicators of multiple ports to illuminate to provide an indication of a path through the network Each of the ports remain illuminated for at least a period of time after the frame passes through each such port to enable a person to concurrently visualize all of the ports comprising the path.

BACKGROUND

In a network, there may be multiple interconnected switches, servers, storage devices, etc. A packet of data can be sent from a source device through one or more intervening switches to a destination device Each switch typically has multiple switch ports and each server has at least one and possibly multiple network interface controller (NIC) ports In some cases, the switches, servers, storage devices, etc. are housed in equipment racks. The number of ports and associated cabling in such an environment can be large. In such an environment, determining the configuration of the network can be difficult, thereby burdening network administrators attempting to manage such a network.

BRIEF DESCRIPTION OF THE DRAWINGS

For a detailed description of exemplary embodiments of the invention, reference will now be made to the accompanying drawings in which.

FIG. 1 shows a network in accordance with embodiments of the invention,

FIG. 2 shows an illustrative embodiment of a switch usable in the network of FIG. 1;

FIG. 3 shows an illustrative embodiment of a server usable in the network of a FIG. 1; and

FIG. 4 shows a method in accordance with embodiments of the invention

NOTATION AND NOMENCLATURE

Certain terms are used throughout the following description and claims to refer to particular system components As one skilled in the art will appreciate, computer companies may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function In the following discussion and in the claims, the terms “including” and “comprising” are used in an open-ended fashion, and thus should be interpreted to mean “including, but not limited to . . . ” Also, the term “couple” or “couples” is intended to mean either an indirect, direct, optical or wireless electrical connection. Thus, if a first device couples to a second device, that connection may be through a direct electrical connection, through an indirect electrical connection via other devices and connections, through an optical electrical connection, or through a wireless electrical connection.

The term “frame” is used in this disclosure in a broad sense to refer to information, in any suitable form, that is passed from one network device to another. A frame may also be referred to as a “packet” by those skilled in the art

DETAILED DESCRIPTION

FIG. 1 shows a network 40 comprising at least one computer 50 coupled to multiple network switches 52-70. The computer 50 may any suitable type of computer usable to communicate with a network. In at least one embodiment, computer 50 comprises a server and will be referred to herein as such. Server 50 comprises one or more network interface controller (NIC) ports 72 through which the server couples to one or more switches. In some embodiments, each NIC port 72 includes at least one connector to which an external cable can be mated In other embodiments, the network devices (e.g., server 50, switches 52-70) wirelessly communicate with one another.

Each of the switches 52-70 comprises multiple switch ports 74. Each port includes a connector to which an external cable can be mated, although wireless connectivity is also possible as noted above. Various cables 75 are illustrated in FIG. 1 by which the NIC and switch ports are coupled together as shown. Not every port 72, 74 need be communicatively coupled (e.g., cabled) to another port. A frame of data originating, for example, at server 50 can be routed from port to port through various switches to switch 70. For example, a data frame may pass from server 50 to switch 52, then to switch 56, to switch 60 and finally to switch 70.

In accordance with some embodiments of the invention, the network implements a spanning tree protocol (STP) such as that defined by the IEEE 802.1D standard. A spanning tree uses a spanning tree algorithm that determines that a given switch has more than one path over which to communicate with another node, determines which path is best and blocks other path(s). If one network segment in the STP becomes unreachable, the spanning tree algorithm reconfigures the spanning tree topology and reestablishes the link by activating the standby path. A spanning tree for a network is “loop free” meaning that the switches are not connected together in a way that would permit a frame to be routed through the network in a closed loop.

In a spanning tree protocol, one of the switches is pre-designated or dynamically elected to be a “root” switch. A root switch represents the logical center of the spanning tree topology in a switched network. Switch 70 in FIG. 1 comprises the root switch for network 40. All non-root switches have one root port and one or more designated ports A root port is the port through which outbound traffic flows from a switch (e.g., switch 52-64) towards the root switch 70. A designated port is a port that connects to and provides in-bound traffic from a local area network (LAN) toward the root switch 70. A port may alternatively be designated a standby port. An alternate port is a port not disabled and is neither root port or designated port and do not forward frames onto the LANs to which it connects. Thus, each port of a switch can be designated as one of multiple possible port types—root port, designated port, standby port. An “active” port is either root port or designated port.

Each NIC and switch port 72, 74 has an associated visual indicator 76. In accordance with at least some embodiments, each visual indicator comprises a light emitting diode (LED) although other forms of visual indication are possible as well. In accordance with embodiments of the invention, an indicator can be made to illuminate. In some embodiments, the illumination of an indicator is implemented by having the LED turn on and remain on for a period of time. In other embodiments, the illumination of an indicator is implemented by causing the indicator to blink at a pre-defined or programmable rate. Further, an indicator can be made to illuminate with a desired color. That is, the color of a given indicator can be one of multiple colors, the selection of which can be made dynamically. Each indicator 76 in an illustrative embodiment is on or near its associated port 72, 74 so that the user can readily determine to which port the indicator pertains. Embodiments of the invention described herein permit a user to readily visualize paths through the networks as well visualize certain types of ports (e.g., all active ports, all root ports, etc.).

The server 50 and switches 52-70 may be implemented in “blade” form and installed in equipment racks. However, any physical form of the server 50 and switches 52-70 is acceptable. Further, the number of servers and switches can be varied from that shown in FIG. 1.

FIG. 2 shows an illustrative embodiment of the switches 52-70. As shown, each switch comprises control logic 100 coupled to each of the switch's ports 74 and associated indicators 76. The control logic 100 comprises a processor executing firmware in some embodiments.

FIG. 3 shows an illustrative embodiment of server 50. As shown, server 50 comprises a processor 102 coupled to one or more NICs 72 and associated indicators 76. A display 55 may also be provided The processor 102 also couples to storage 103. Storage 103 may comprise volatile storage such as random access memory (RAM), non-volatile storage such as a hard disk drive, compact disk read only memory (CD ROM) and read only memory (ROM), and combinations thereof Storage 104 may be intended to be removable (such as for a CD ROM) or non-removable such as for a hard disk or RAM memory. Software 104 is provided for execution by processor 102. Software 104 causes the processor 102, and thus server 50, to perform one or more of the actions described herein. The software 104 is contained on any suitable computer readable medium. In the embodiment of FIG. 3, the computer readable medium comprises storage 103 within server 50. In other embodiments, the computer readable medium on which software 103 is stored may be external to server 50. As such, the software 104 may be downloaded to the server 50 for execution thereon.

In accordance with embodiments, a user may desire to visualize certain topological aspects of the network. For example, the user may wish to know through which ports on which switches a packet of data will be routed when being transmitted from server 50 to root switch 70. Other examples are provided below. The user, via server 50, causes the server to form a frame that is encoded with certain information regarding whether and how certain indicators 76 are to be illuminated in the network to provide the user the desired topological visualization. Thus, while the frame may perform other functions as well, the frame, at least in part, causes various indicators in the network to be illuminated. The frame is injected into the network (transmitted from the source node, e.g., server 50, to one or more switches) and is routed from switch to switch until the frame reaches its destination. Every switch that receives the frame, decodes the frame, examines the information contained in the frame and performs whatever indicator illumination activity is specified by the frame. The switch then forwards the frame on to another switch in accordance with routing information contained in the frame.

FIG. 4 provides an illustrative embodiment of this process. A method 110 is shown comprising actions 112-116. At 112, method 110 comprises forming a frame. An exemplary frame format is provided below. The frame is formed to include information that, when received by a switch or other network device, causes such device to illuminate one or more of its indicators 76. The frame also includes information from which the receiving switch determines whether to forward the frame on to another network device (e.g., another switch). Thus, in accordance with method 110, the frame passes through the network (114) and causes various indicators on multiple ports to illuminate (116). The indicators that are caused to illuminate may be, for example, to visually identify a path the frame took as its passed through the network. A user (e.g., a network administrator) can cause the frames to be generated so as to visually identify various ports and paths of interest in the network. The user forms the frames via, for example, a graphical user interface (GUI) provided on display 55 by software 104.

The frame formed in FIG. 4 can cause any one or more of the following actions to happen:

-   -   The frame may cause an indicator associated with each port in         the network through which the frame passes to illuminate.     -   The frame may cause indicators associated with some or all         “root” ports to illuminate. A root port being a port of a         network switch through which frames can be sent toward a root         node.     -   The frame may cause indicators to illuminate comprises causing         all active ports in the network to illuminate.     -   The frame may cause indicators to illuminate of ports along a         network path to a specified address.     -   The frame may cause indicators on some or all ports in the         network to illuminate that are registered for a specified         multicast stream such as Internet Group Management Protocol         (IGMP).     -   The frame may cause all ports in a specified virtual local area         network (VLAN) to be illuminated. For example, FIG. 1         illustrates to VLANs 160 and 165.

The GUI provided by server 50 on display 55 provides the user with a list of choices that correspond to, for example, the aforementioned list. The user selects the desired options (e.g., by clicking on one or more of the selectable options). Upon clicking on, for example, “OK” software button, the server's software forms a frame in accordance with the user's choices and injects the frame into the network.

Each frame may effectuate one of the aforementioned actions to occur. Other actions are possible results as well. The user can cause a series of such frames to be generated and injected into the network to cause a series of such results to occur. In other embodiments, a frame may cause more than just one result to occur. Thus, combinations of results may be encoded into a single frame as desired.

Each network device (e.g., switch) may generate a reply frame that indicates the status associated with the indicator that was targeted by the frame to which the reply pertains. The status may be, for example, that the indicator has currently illuminating, has stopped illuminating, that the specified blinking rate is invalid, that the indicator cannot start illuminating, or that the indicator is unable to stop illuminating. Other status is possible as well.

In accordance with at least one embodiment of the invention, multiple frames may be formed and injected into the network to cause various indicators 76 to be illuminated as desired. In one such embodiment, a first frame is formed per action 112 (FIG. 4) that specifies the types of ports whose indicators are to be illuminated. The port types can be ports such as those listed above (e.g., all ports through which the frame passes, all root ports, all ports in a specified VLAN, all ports along a path to a specified address, all active ports, etc.). Each network device (e.g., switch) that receives such a frame, illuminates certain of its indicators in accordance with the information specified in the frame. The network device may also forward the frame on in accordance with routing information provided in the frame. A second frame may also be formed in accordance with action 112 (FIG. 4) to provide additional information about the illumination of the various indicators. Such second frame specifies, for example, how the indicators are to be illuminated (e.g., blinking rate, color, etc.). Thus, more than one frame can be formed and passed through the network per FIG. 4 to identify certain ports to a user. In other embodiments, a single frame can be formed that specifies the types of ports whose indicators are to be illuminated as well as information regarding how the indicators are to be illuminated.

In one embodiment, the frame formed in accordance with method 110 (FIG. 4) is formed as provided in the following example. Table I below provides an example of a suitable format of such a frame.

TABLE I Frame Format Octets Field Name Field Description 6 Destination Address Multicast Configuration Address 6 Source Address Port MAC address 2 Length/Type Length or type value 1 Ver. No. Version number 1 Type Length Value (TLV) 1 Length The number of bytes to follow N . . . 4 FCS Frame CheckSum The frame format in Table I is typical of Ethernet frames. To identify to the network a frame whose purpose to cause indicators to illuminate, the destination address is selected to be a reserved set of multicast addresses. In some embodiments, the destination address is selected from the range of addresses of 01-80-C2-00-00-02 to 01-80-C2-00-00-0F. The source address is the Port MAC address of the server 50, or whatever device originated the frame. The length/type field specifies type value in Ethernet Encapsulation standard. The version number field specifies the version number of the relevant unit identifier (UID) protocol. The type length value (TLV) field is used to encode information that specifies the nature of a data “payload.” The length field specifies the amount of the data payload that follows the TLV and Length fields. Based on the value of the TLV and Length fields, the device receiving the frame knows how to decode and interpret the contents of the data payload. The frame checksum (FCS) ensures that the frame was received without error. The frame ends with a TLV type set to a predefined “terminator” value (e.g., 0) and Length field also at a predefined value (e.g., 0).

As explained above, one of the indicator-related frames may comprise information about how the indicators are to be illuminated. In such a frame, the TLV specifies that an indicator to be illuminated is to be illuminated according to a prescribed set of characteristics. The characteristics regarding how the indicator is to be illuminated are provided in the data payload following the length field. Table II below provides an example of such data payload. The first two fields provided below are the TLV Type and Length fields provided in Table I. The remaining fields comprise the data payload that follows the Length field.

TABLE II Illumination Method Octets Field Description 1 TLV Type 1 = Blink Method 1 Length Blink Method Information Length 6 System ID Sender's System ID 1 UID Request/Reply Request 0 = stop blinking 1 = start blinking Reply 2 = stop blinking complete 3 = start blinking complete 1 Status 0 = OK 1 = cannot start blinking 2 = cannot stop blinking 3 = invalid blinking rate 1 Blinking Rate: number of blinks Number of blinks 1 Blinking Rate: number of seconds Per the number of seconds 1 Illumination Color 0 = Green 1 = Amber 2 = Red 3 = Yellow

The system identifier (ID) identifies the system that originates the frame. The UID Request/Reply field comprises either a request or a reply as indicated. As a request, the field comprises a value of 0 or 1 to request an indicator to stop or start blinking, respectively. As a reply, the field comprises a value of 2 or 3 to indicate that the blinking has stopped or started, respectively. The Status field comprises a value of 0-3. A value of, for example, 0 is an “OK” status to indicate that the received network device functions normally with the request. A status value of, for example, 1 indicates that the indicator cannot be made to start blinking, while status values of 2 and 3 indicate, respectively, that the indicator cannot be made to stop blinking and that the blinking rate specified in the next fields is invalid (e.g., a switch may not support the blinking rate specified by the frame).

The indicator can be made to blink if desired. In the embodiment of Table II, the blinking rate is provided in two frames to specify a number of blinks per unit of time. The number of blinks is specified in a first blinking rate field while the unit of time for the blinks to occur is specified in a second blinking rate field. The color for the indicator, to the extent the network device containing the indicator can support more than one color, is specified in the Illumination Color field. Values of 0-3 specify, for example, green, amber, red, and yellow, respectively.

In accordance with other embodiments, the frame can be encoded so as to target a root switch. In such embodiments, the UID Request/Reply field (Table II) can be encoded with one of the following exemplary values:

0=blink port on which frame is received if switch is the root

1=blink all ports for the VLAN if switch is the root

2=blink a “management LED” on switch if switch is the root

Similar formats can be used for a Root Port, Root Path, VLAN Path, MAC Path, IGMP Path, Router Path, etc. to illuminate a remote point or a particular path.

The above discussion is meant to be illustrative of the principles and various embodiments of the present invention. Numerous variations and modifications will become apparent to those skilled in the art once the above disclosure is fully appreciated. For example, the ports being illuminated in accordance with methods disclosed herein may be located in a common data center (e.g., the same room). However, the illuminated ports may be geographically separated (e.g., different buildings, different cities). It is intended that the following claims be interpreted to embrace all such variations and modifications. 

1. A method implemented in a network comprising a plurality of ports, an indicator associated with each port, comprising: forming a frame; said frame passing through said network; and said frame causing indicators of multiple ports to illuminate to provide an indication of a path through said network; wherein each of said multiple ports remain illuminated for at least a period of time after said frame passes through each such port, whereby a person may concurrently observe all of said ports comprising said path.
 2. The method of claim 1 wherein said frame causing said indicators to illuminate comprises causing an indicator associated with each port in said network through which the frame passes to illuminate.
 3. The method of claim 1 wherein said frame causing said indicators to illuminate comprises causing indicators associated with all root ports to illuminate, each root port being a port of a network switch through which frames can be sent toward a root node.
 4. The method of claim 1 wherein said frame causing indicators to illuminate comprises causing some or all active ports in said network to illuminate.
 5. The method of claim 1 wherein said frame causing indicators to illuminate comprises causing indicators of ports along a network path to a specified address to illuminate.
 6. The method of claim 1 wherein said frame causing indicators to illuminate comprises causing indicators on some or all ports in said network to illuminate that are registered for a specified multicast stream.
 7. The method of claim 1 wherein said frame causing indicators to illuminate comprises causing at least some ports in a specified virtual local area network (VLAN) to be illuminated.
 8. The method of claim 1 further comprising forming a reply frame that indicates status associated with the indicator.
 9. The method of claim 1 further comprising each of a plurality of switches receiving said frame, causing at least one indicator of said switch to illuminate and then forwarding the frame on to another of said plurality of switches which causes an indictor to illuminate.
 10. A network, comprising: one or more switches, each switch having a plurality of ports, each port having an associated indicator, and at least one switch operable to couple to a server; and wherein at least one switch is operable to receive a frame from a server, said packet causing the one or more switches that receive the frame to illuminate indicators of multiple ports to provide an indication of a path through said network; and wherein each of said multiple ports remain illuminated for at least a period of time after said frame passes through each such port, whereby a person may concurrently observe all of said ports comprising said path.
 11. The network of claim 10 wherein said frame causes indicators associated with all root ports in said network, to illuminate, each root port being a port of a switch through which frames can be sent toward a root node.
 12. The network of claim 10 wherein said frame causing indicators to illuminate comprises causing indicators of ports along a network path to a specified address to illuminate.
 13. The network of claim 9 wherein said frame causing indicators to illuminate comprises causing indicators on all ports in said network to illuminate that are registered for a specified multicast stream.
 14. The network of claim 10 wherein the frame specifies a blink rate for each indicator the frame causes to be illuminated.
 15. A computer readable medium containing software that, when executed by a processor, causes the processor to: provide a plurality of selectable options to a user, wherein said selectable options comprise at least a first option to visually identify ports along a path through a network; in response to user selection of said first option, forming a frame to be routed through the network, said frame causing indicators of multiple ports to illuminate to provide a visual indication of said path through said network.
 16. The computer readable medium of claim 15 wherein said options also comprise an option to visually identify root ports only in said network.
 17. The computer readable medium of claim 15 wherein said options also comprise an option to visually identify all active ports in said network.
 18. The computer readable medium of claim 15 wherein said options also comprise an option to visually identify all ports along a network path to a specified address.
 19. The computer readable medium of claim 15 wherein said first option causes ports along said path through which said frame passes to illuminate.
 20. The computer readable medium of claim 15 wherein said software also permits a user to select a blink rate or color of visual indicators in said network to visually indicate said path. 